package com.ndp.fb.rdb.model;

import com.ndp.fb.rdb.annotation.Id;
import com.ndp.fb.rdb.annotation.NoSave;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * Created by infi.he on 2016/4/15.
 */
@Setter
@Getter
@NoArgsConstructor
public class EcTemplateElement implements Serializable {
    @Id
    private Long id;
    private String parentCode;   //元素父级编码
    private String elementCode;  //元素编码
    private String elementName;
    private String elementContext;
    private Long ecTemplateId;
    private Long elementStyleId;
    private Integer elementStyleGroupId;
    private Long elementColorTypeId; //元素所属色系  gold gray black white.
    private String elementImg;       //元素在s3的url
    private String elementPreview;   //元素预览图s3地址
    private String userId;
    private Long orgId;
    private Boolean major;
    private String description;
    private Integer isDelete;
    private Long createTime;
    private Long ecElementCategoryId;
}
